// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.costAccounting.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.Data;

/**
 * MonthlyCostReport
 */
@Data
@TableName(value = "monthly_cost_report", autoResultMap = true)
@Schema(title = "成本月报")
public class MonthlyCostReport implements Serializable {
    /**
     * 编号
     */
    @TableField(value = "`id`")
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(title = "编号")
    private Long id;

    /**
     * 组织内码
     */
    @TableField(value = "`org_id`")
    @Schema(title = "组织内码")
    private Long orgId;

    /**
     * 会计月内码
     */
    @TableField(value = "`period_id`")
    @Schema(title = "会计月内码")
    private Long periodId;

    /**
     * 仓库内码
     */
    @TableField(value = "`stock_id`")
    @Schema(title = "仓库内码")
    private Long stockId;

    /**
     * 店铺id
     */
    @TableField(value = "`shop_id`")
    @Schema(title = "店铺id")
    private String shopId;

    /**
     * 物料内码
     */
    @TableField(value = "`item_id`")
    @Schema(title = "物料内码")
    private Long itemId;

    /**
     * 商品大类
     */
//    @TableField(value = "`item_id`")
//    @Schema(title = "商品大类")
//    private Long matGroup1;

    /**
     * 期初数量
     */
    @TableField(value = "`begin_qty`")
    @Schema(title = "期初数量")
    private Integer beginQty;

    /**
     * 期数金额
     */
    @TableField(value = "`begin_amount`")
    @Schema(title = "期数金额")
    private java.math.BigDecimal beginAmount;

    /**
     * 入库数量
     */
    @TableField(value = "`stock_in_qty`")
    @Schema(title = "入库数量")
    private Integer stockInQty;

    /**
     * 入库数量
     */
    @TableField(value = "`stock_in_amount`")
    @Schema(title = "入库金额")
    private java.math.BigDecimal stockInAmount;

    /**
     * 出库数量
     */
    @TableField(value = "`stock_out_qty`")
    @Schema(title = "出库数量")
    private Integer stockOutQty;

    /**
     * 出库数量
     */
    @TableField(value = "`stock_out_amount`")
    @Schema(title = "出库金额")
    private java.math.BigDecimal stockOutAmount;

    /**
     * 库存数量
     */
    @TableField(value = "`stock_qty`")
    @Schema(title = "库存数量")
    private Integer stockQty;

    /**
     * 库存金额
     */
    @TableField(value = "`stock_amount`")
    @Schema(title = "库存金额")
    private java.math.BigDecimal stockAmount;

    /**
     * 创建时间
     */
    @TableField(value = "`create_time`")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(title = "创建时间")
    private java.util.Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "`create_user`")
    @Schema(title = "创建人")
    private Long createUser;

    /**
     * 更新时间
     */
    @TableField(value = "`last_update_time`")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(title = "更新时间")
    private java.util.Date lastUpdateTime;

    /**
     * 更新人
     */
    @TableField(value = "`last_update_user`")
    @Schema(title = "更新人")
    private Long lastUpdateUser;

    /**
     * 删除标记
     */
    @TableField(value = "`del_flag`")
    @TableLogic
    @Schema(title = "删除标记")
    private Boolean delFlag;
    /**
     * 成本金额
     */
    @TableField(value = "`current_issue_cost_amount`")
    @Schema(title = "成本金额")
    private java.math.BigDecimal currentIssueCostAmount;
}
